import request from "@/plugins/axios";
// 上传图片
export function uploadImgApi(data) {
  return request({
    url: "/admin/file/uploadImg",
    method: "post",
    data,
  });
}
// 上传文件
export function fileApi(data) {
  return request({
    url: "/admin/file/uploadOther",
    method: "post",
    data,
  });
}
// 上传证书
export function certApi(data) {
  return request({
    url: "/admin/file/uploadCert",
    method: "post",
    data,
  });
}
